﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddUser.aspx.cs" Inherits="Main_Administration_AddUser" %>
<%--
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        *
        {
             font-family:Arial;
             margin: 0 0 0 0;
             padding: 0 0 0 0;
        }
    </style>
</head>
<body>
--%>    
    <form id="form1" runat="server" style="margin:2%;">
        <table border="0" cellpadding="0" cellspacing="0" width="100%;">
            <tr>
                <td valign="middle" align="center">
                    <table border="0" style="border:2px solid black;font-size:100%; height: 350px; width: 420px; background-color:#ffffff">
                        <tr>
                            <td align="center" colspan="2" 
                                style="color:White;background-color:steelblue;font-weight:bold;">
                                Create A New Office Online Account</td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblUserName" runat="server" AssociatedControlID="txtUserName">User Name:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>&nbsp;<span style="color:Red">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblPassword" runat="server" AssociatedControlID="txtPassword">Password:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>&nbsp;<span style="color:Red">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblConfirmPassword" runat="server" 
                                    AssociatedControlID="txtConfirmPassword">Confirm Password:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>&nbsp;<span style="color:Red">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblEmail" runat="server" AssociatedControlID="txtEmail">E-mail:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>&nbsp;<span style="color:Red">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblQuestion" runat="server">Security Question:</asp:Label>
                            </td>
                            <td>
                                <%--<asp:TextBox ID="txtQuestion" runat="server"></asp:TextBox>&nbsp;<span style="color:Red">*</span>--%>
                                <select id="ddSecretQuestion" style="width:250px">
                                    <option value="What was the name of your first pet">What was the name of your first pet</option>
                                    <option value="What is your favorite sports team">What is your favorite sports team</option>
                                    <option value="What is your favorite teacher's name">What is your favorite teacher's name</option>
                                    <option value="What is your favorite movie">What is your favorite movie</option>
                                    <option value="What is your favorite song">What is your favorite song</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblAnswer" runat="server" AssociatedControlID="txtAnswer">Security Answer:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtAnswer" runat="server"></asp:TextBox>&nbsp;<span style="color:Red">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblName" runat="server" AssociatedControlID="txtName">Name:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>&nbsp;<span style="color:Red">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblAddress" runat="server" AssociatedControlID="txtAddress">Address:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtAddress" runat="server" ></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblPrimaryContactNumber" runat="server" 
                                    AssociatedControlID="txtPrimaryContactNumber">Primary Contact Number:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtPrimaryContactNumber" runat="server" ></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblAge" runat="server" AssociatedControlID="txtAge">Age:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtAge" runat="server"></asp:TextBox>&nbsp;<span style="color:Red">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblDepartment" runat="server" AssociatedControlID="txtDepartment">Department:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtDepartment" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblUserType" runat="server" AssociatedControlID="ddlType">User Type:</asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList id="ddlType" runat="server" width="130px"> 
                                </asp:DropDownList>&nbsp;<span style="color:Red">*</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="color:Red;">
                                <asp:Label ID="lblErrorMessage" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="right">
                                <input type="button" id="btnCreateUser"  value="Create User" onclick="javascript:CreateUser();"/>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
    
<%--</body>
</html>
--%>